package controle;

import dao.GenericoDAO;

public class Controlador {

	
	GenericoDAO genericoDAO = new GenericoDAO();

	public void Salvar(Object obj) throws Exception {
		genericoDAO.salvar(obj);
	}

	public void Alterar(Object obj) throws Exception {
		genericoDAO.alterar(obj);
	}

	public void Excluir(Object obj) throws Exception {
		genericoDAO.excluir(obj);
	}

	public void SalvarAlterar(Object obj) throws Exception {
		genericoDAO.salvarAlterar(obj);
	}
}
